<%@ include file = "/common/ini.jsp"%> 
<%@ page isErrorPage="true" %>
<html>
<head>
<title>error</title>
</head>
<link rel="stylesheet" href="<%= request.getContextPath()%>/css/query.css" type="text/css">
<script>
	function showError()
	{
		if(show.value=="显示错误信息")
		{
			err.style.display = "";
			show.value = "隐藏错误信息";
		}
		else
		{
			err.style.display = "none";
			show.value = "显示错误信息";
		}
	}
</script>
<body >
	 <table height="100%" width="100%">
	 <tr>
		<td height="100%" width="40%" align="center">&nbsp;</td>
	 	<td height="100%"  align="left">
		<b>系统发生异常,请及时通知管理员!</b> <input type="button" id="show" onclick="showError()" value="显示错误信息"><br>
		<b>时间:</b><%= (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")).format(new Date())%><br>
		<div id="err" style="display:none"><b>错误内容:</b><%= request.getParameter("exception")%><br></div>
		</td>
	 </tr>
	 </table>
</body>
</html>
